package com.zy.dp.command.example2;

public class Box
{
	private Command openCommand;

	public void setOpenCommand(Command openCommand)
	{
		this.openCommand = openCommand;
	}

	public void openButtonPressed()
	{

		openCommand.execute();
	}

}
